﻿/*
 * TiffSampleFormat
 * 
 * Copyright (c) Adam Sida, asida@centrum.cz
 * 
 * All rights reserved.
 */
using System;



namespace Petra.Gis.Geometry.Image.Tiff
{
  public struct TiffSampleFormat
  {
    public readonly int BitsPerSample;
    //int Mask;

    public TiffSampleFormat(int bps)
    {
      if (!(bps > 0 || bps <= 64))
        throw new ArgumentException("invalid value for BitsPerPixel");

      BitsPerSample = bps;

    }
  }
}
